package com.zhang.apiboss.service.impl;

import com.zhang.apiboss.remote.ServiceDriverUserClient;
import com.zhang.apiboss.service.CarService;
import com.zhang.internalcommon.dto.Car;
import com.zhang.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 类功能描述
 *
 * @author Kye
 * @date 2025-04-13
 */
@Service
public class CarServiceImpl implements CarService {

	@Autowired
	private ServiceDriverUserClient serviceDriverUserClient;

	@Override
	public ResponseResult addCar(Car car) {
		ResponseResult responseResult = serviceDriverUserClient.addCar(car);
		return responseResult;
	}
}
